\documentclass[a4paper,11pt]{memoir}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{url}
\usepackage{graphicx}
\usepackage{color} 
\usepackage{colortbl}
\usepackage{listings}
\usepackage[pdftex,
            pagebackref=false,
            colorlinks=true,
            linkcolor=black,
	    citecolor=black,
	    filecolor=black,
	    linkcolor=black,
	    urlcolor=black,
            unicode
           ]{hyperref}



\chapterstyle{bianchi}


%%footprints and headprints
\nouppercaseheads

\createmark{chapter}{left}{nonumber}{}{}
\createmark{section}{right}{nonumber}{}{}
\makeheadrule{headings}{\textwidth}{\normalrulethickness}

\makeevenhead{headings}{\thepage \hspace{0.2cm} \vrule }{FFLocation}{}
\makeoddhead{headings}{\slshape(\thechapter) \leftmark: \lowercase{\textit{\rightmark}}}{}{\vrule \hspace{0.2cm} \thepage}


\makeevenfoot{headings}{}{}{} 
\makeoddfoot{headings}{}{}{}
\makeoddfoot{plain}{}{}{}


%%Paragraphs
\setlength{\parskip}{0.85\baselineskip}

\def\margen#1#2#3{\list{}{\headheight#3\rightmargin#2\leftmargin#1}\item[]}
\let\endmargen=\endlist



\begin{document}



%%LO DE ANTES
\frontmatter



%\renewcommand{\appendixtocname}{Apéndices}

\setcounter{tocdepth}{2}% subsections and above

\tableofcontents
\cleardoublepage
%\renewcommand*{\contentsname}{Índice extendido}
%\cleardoublepage

%\listoffigures
%\cleardoublepage

%\renewcommand{\listtablename}{Índice de tablas}
%\listoftables
%\cleardoublepage

%\renewcommand{\lstlistlistingname}{Índice de cuadros de código} 
%\lstlistoflistings 
%\cleardoublepage


%\input{portada/resumen}


%%%Main document
\mainmatter


\setcounter{secnumdepth}{2} %%numerar subsections
%%Cambiamos nombres
%\renewcommand{\lstlistingname}{Cuadro de código}
%\renewcommand{\tablename}{Tabla}
%\renewcommand{\appendixname}{Apéndice}
%\renewcommand{\appendixpagename}{Apéndices}


 \include{./Requirements/src/requirements} 
 
%\appendixpage
%\appendix

\backmatter 

\begin{thebibliography}{99}
\input{Requirements/src/bibliography}
\end{thebibliography}


\end{document}
